﻿#region Using

using Common.Base;

#endregion

namespace GameLogic.External
{

    #region Using

    #endregion

    public class FarmerRouteRemoveCommand : ICommand
    {
        public FarmerRouteRemoveCommand(Position starPosition, Position endPosition, Identifiable player)
        {
            this.StartPosition = starPosition;
            this.EndPosition = endPosition;
            this.Player = player;
        }

        public Position EndPosition { get; private set; }

        public Position StartPosition { get; private set; }

        public Result ExecuteOn(ICommandExecutor executor)
        {
            return executor.ExecuteCommand(this);
        }

        public Identifiable Player { get; private set; }
    }
}